home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000034_news@columbia.edu _Fri Jul 19 18:35:35 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id SAA29731 for <kermit.misc@watsun.cc.columbia.edu>; Fri, 19 Jul 1996 18:35:35 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id SAA06507 for kermit.misc@watsun; Fri, 19 Jul 1996 18:35:35 -0400 (EDT)
  4. Path: news.columbia.edu!panix!bloom-beacon.mit.edu!news.mathworks.com!uunet!inXS.uu.net!news.ner.bbnplanet.net!forest!pcoen
  5. From: pcoen@forest.drew.edu (Paul Coen)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: MSK to K95 script string question (with \)
  8. Message-ID: <1996Jul19.144659.143932@forest>
  9. Date: 19 Jul 96 14:46:59 EST
  10. Organization: Drew University Academic Technology
  11. Lines: 25
  12.  
  13. I'm trying to convert some old MS-Kermit scripts over to K95.  We've got
  14. a system where you hit a key, it tells the remote system to send a macro
  15. file, Kermit runs the macro, and part of that macro prompts you for
  16. a destination filename, and then goes and gets the mail message (We have it
  17. tied into DEC's all-in-1 software) and puts it where you told it to.
  18.  
  19. So, you'd be asked to enter, say C:\DOCS\TEST.TXT.
  20.  
  21. Works with MS-Kermit (I didn't write the original script, by the way).
  22.  
  23. It will work with K95 -- if you use / or \\ as the directory indicators.
  24. (And I can understand why).  The problem is that my boss doesn't want us
  25. to have to retrain everyone for a special case.  (We have a similar 
  26. problem with the "upload a message" feature we did as well).
  27.  
  28. The macro is doing:
  29.  
  30. ask \%N {Filename for your computer or END:}
  31.  
  32. it then checks to see if it equals end or if the file already exists.
  33.  
  34. Is there any way I could re-format the string to add the second slash
  35. at each occurance in the user string?  My instinct is to say "no," since
  36. I suspect that the single \ is treated as a special character and I can't
  37. look for it.